<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/commons/taglibs.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <title>${tableBean.tableNameNoDash} Form页面</title>
  </head>
  <body class="container">
 	<form class="form-horizontal" action="${r'${ctx}'}/${tableBean.tableNameNoDash}/save.do" method="post">
 	<#list tableBean.columnBeanList as columnBean>
 		 <#if (columnBean.priKey)>
		 <input name="id" value="${r'${bean.'}${columnBean.columnName}}" type="hidden">
		 <#else>
			 <div class="form-group  form-inline">
			    <label class="col-md-2 control-label">${columnBean.columnComment}：</label>
			    <div class="col-md-10">
			       <input type="text" class="form-control top" value="${r'${bean.'}${columnBean.columnNameNoDash}}" name="${columnBean.columnNameNoDash}" placeholder="请输入${columnBean.columnComment}">
			    </div>
		  	</div>
		 </#if>
	</#list>
		<div class="form-group">
	   	<div class="col-md-8 text-right">
	  		<input type="submit" class="btn btn-primary" value="保存"></input>
	  	</div>
	  </div>
 	</form>
  </body>
</html>
